PerfectLibCameraKit Classes
-
The class performs face analysis.
Initialize a
PFCameraKitobject with+[PFCameraKit createWithModelPath:completion:]. The object created will not open camera device and rendering view, external camera source is required. Use-sendCameraBuffer:to input camera frames. Receive quality check results fromPFCameraKitDelegate. The relaxed level is applied by default when the object is initialized.Note
the kCVPixelBufferPixelFormatTypeKey must be specified as kCVPixelFormatType_420YpCbCr8BiPlanarFullRange when settingAVCaptureVideoDataOutput.videoSettings.Declaration
Objective-C
@interface PFCameraKit : NSObject -
The results of skin analysis. Face width should be between 0.55 × frame width and 1.0 × frame width.
Declaration
Objective-C
@interface PFCameraKitQualityCheck : NSObject -
Immutable CameraKit face check parameters created from
PFCameraKitParameterBuilder.Declaration
Objective-C
@interface PFCameraKitParameter : NSObject -
Builder object for configuring CameraKit face check parameters.
Unspecified values are filled from the preset values of the current parameter’s
currentLevelwhen-buildis called.Declaration
Objective-C
@interface PFCameraKitParameterBuilder : NSObject
PerfectLibCameraKit Classes Reference